package com.xmotor.test_SpEL;

import java.io.Serializable;

/**
 * 模板消息发送
 *
 * @author gusy
 * @date 2018/9/5 14:36
 */
public class TemplateMsgBO implements Serializable {

    private static final long serialVersionUID = -3952899198917151190L;

    /**
     * 支付成功
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     六年免检业务、违法缴罚业务为车牌号,示例：A4HW**
     * @param arg2     订单号
     * @param arg3     支付金额
     * @param arg4     项目名称
     * @param arg5     支付时间
     * @return
     */
    public static TemplateMsgBO paySuccess(String openid, String url, String appid, String pagePath, String arg1,
                                           String arg2, String arg3, String arg4, String arg5) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);

        return templateMsgBO;
    }

    /**
     * 支付成功（缴罚小程序）
     *
     * @param openid openId
     * @param arg1
     * @param arg2   订单编号
     * @param arg3   车牌号码
     * @param arg4   订单金额
     * @param arg5   支付时间
     * @param arg6
     * @return
     */
    public static TemplateMsgBO paySuccessForIllegalPayment(String openid, String arg1, String arg2, String arg3, String arg4, String arg5, String arg6) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();
        templateMsgBO.setOpenid(openid);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);
        templateMsgBO.setArg6(arg6);

        return templateMsgBO;
    }

    /**
     * 支付提醒（缴罚小程序）
     *
     * @param openid openId
     * @param arg1   订单编号
     * @param arg2   车牌号
     * @param arg3   代付金额
     * @param arg4   下单时间
     * @param arg5
     * @param arg6
     * @return
     */
    public static TemplateMsgBO payRemindForIllegalPayment(String openid, String arg1, String arg2, String arg3, String arg4, String arg5, String arg6) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();
        templateMsgBO.setOpenid(openid);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);
        templateMsgBO.setArg6(arg6);

        return templateMsgBO;
    }

    /**
     * 支付提醒或取消订单提醒
     *
     * @param openid openId
     * @param arg1   车牌号码
     * @param arg2   订单编号
     * @param arg3   订单金额
     * @param arg4   订单创建时间或取消时间
     * @param arg5
     * @param arg6
     * @return
     */
    public static TemplateMsgBO payAndCancelRemind(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();
        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);

        return templateMsgBO;
    }

    /**
     * 车辆绑定-违章缴罚业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     证件号，这里填写为车牌号，模板消息显示为粤A4HW**
     * @param arg2     姓名
     * @param arg3     状态
     * @param arg4     时间
     * @return
     */
    public static TemplateMsgBO bindCar(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);

        return templateMsgBO;
    }

    /**
     * 车辆绑定(违法缴罚小程序)
     *
     * @param openid
     * @param arg1
     * @param arg2   车牌号码
     * @param arg3   订阅时间，yyyy-MM-dd
     * @param arg4
     * @param arg5
     * @return
     */
    public static TemplateMsgBO bindCarForIllegalPayment(String openid, String arg1, String arg2, String arg3, String arg4, String arg5) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);

        return templateMsgBO;
    }


    /**
     * 新增违章-违章缴罚业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1
     * @param arg2     违章地点
     * @param arg3     缴款编号
     * @param arg4     违章时间
     * @param arg5     罚款金额
     * @return
     */
    public static TemplateMsgBO addIllegal(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String arg5) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);

        return templateMsgBO;
    }

    /**
     * 违章办理-违章缴罚业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     车牌号，模板消息显示为粤A4HW**
     * @param arg2     处理结果，返回处理成功，处理失败
     * @param arg3     处理内容
     * @param arg4     处理方式
     * @return
     */
    public static TemplateMsgBO handleIllegal(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);

        return templateMsgBO;
    }

    /**
     * 绑定驾驶证-驾驶证业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     证件编号，显示证件的前10位数值，后面用*号替代
     * @param arg2     姓名
     * @param arg3     状态
     * @param arg4     时间
     * @return
     */
    public static TemplateMsgBO bindDrivingLicence(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);

        return templateMsgBO;
    }

    /**
     * 驾驶证清分-驾驶证业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     证件编号，显示证件的前10位数值，后面用*号替代
     * @param arg2     姓名
     * @param arg3     驾照类型
     * @param arg4     驾照初领日期
     * @param arg5     驾照清分日期
     * @param arg6     示例：XX年XX月
     * @return
     */
    public static TemplateMsgBO clearDrivingLicence(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String arg5, String arg6) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);
        templateMsgBO.setArg6(arg6);

        return templateMsgBO;
    }

    /**
     * 车辆年检提醒-六年免检业务
     *
     * @param openid
     * @param templateId
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1       车牌号，模板消息显示为粤A4HW**
     * @param arg2       绑定车牌号码
     * @param arg3       年检到期日期
     * @return
     */
    public static TemplateMsgBO remindInspection(String openid, String templateId, String url, String appid, String pagePath, String arg1, String arg2, String arg3) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);

        return templateMsgBO;
    }

    /**
     * 审核结果通知-六年免检业务
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     车牌号，模板消息显示为粤A4HW**
     * @param arg2     审核事项（六年免检）
     * @param arg3     审核结果
     * @return
     */
    public static TemplateMsgBO checkInspection(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);

        return templateMsgBO;
    }

    /**
     * 邮寄提醒
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     驾驶证业务为驾驶证号;六年免检业务为年检合格标
     * @param arg2     物流公司
     * @param arg3     快递单号
     * @param arg4     商品名称
     * @param arg5     邮寄时间
     * @return
     */
    public static TemplateMsgBO mailRemind(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String arg5) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);

        return templateMsgBO;
    }

    /**
     * 办理进度提醒
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     六年免检业务为车牌号，模板消息显示为粤A4HW**;
     * @param arg2     业务内容,示例六年免检
     * @param arg3     当前进度
     * @param arg4     处理时间
     * @return
     */
    public static TemplateMsgBO dealProcessRemind(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String type) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setType(type);

        return templateMsgBO;
    }

    /**
     * 证件到期提醒
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     六年免检业务为车牌号，模板消息显示为粤A4HW**;
     * @param arg2     业务内容,示例六年免检
     * @param arg3     当前进度
     * @param arg4     网点名称
     * @param arg5     地址
     * @return
     */
    public static TemplateMsgBO idCardExpireRemind(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String arg5) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);

        return templateMsgBO;
    }


    /**
     * etc粤通卡预约成功
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     预约业务
     * @param arg2     预约人姓名
     * @param arg3     预约手机号码
     * @param arg4     预约时间
     * @param arg5     预约业务
     * @param arg6     预约网点
     * @return
     */
    public static TemplateMsgBO etcBookingSuccess(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4, String arg5, String arg6) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);
        templateMsgBO.setArg5(arg5);
        templateMsgBO.setArg6(arg6);

        return templateMsgBO;
    }

    /**
     * 全球签证进度
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     国家名
     * @param arg2     处理时间
     * @return
     */
    public static TemplateMsgBO visaProgress(String openid, String url, String appid, String pagePath, String arg1, String arg2) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        return templateMsgBO;
    }

    /**
     * 全球签证审核结果
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     国家名
     * @return
     */
    public static TemplateMsgBO visaAuditResult(String openid, String url, String appid, String pagePath, String arg1) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        return templateMsgBO;
    }


    /**
     * ETC加油卡福利
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1     申办车牌 示例粤A***E
     * @param arg2     业务类型，示例 加油优惠
     * @param arg3     预留
     * @param arg4     预留
     * @return
     */
    public static TemplateMsgBO welfareForEtc(String openid, String url, String appid, String pagePath, String arg1, String arg2, String arg3, String arg4) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);
        templateMsgBO.setArg2(arg2);
        templateMsgBO.setArg3(arg3);
        templateMsgBO.setArg4(arg4);

        return templateMsgBO;
    }

    /**
     * 扫金融客户专用引流二维码
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1
     * @param arg2
     * @return
     */
    public static TemplateMsgBO scanMarketCode(String openid, String url, String appid, String pagePath, String arg1) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);

        return templateMsgBO;
    }


    /**
     * 扫业务引导办理二维码（优惠领取临时页面）
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1
     * @param arg2
     * @return
     */
    public static TemplateMsgBO scanCouponCode(String openid, String url, String appid, String pagePath, String arg1) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);

        return templateMsgBO;
    }


    /**
     * 巨会洗车核销成功后触发提醒
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param leftCount     剩余次数
     * @param payCode_time  核销成功时间
     * @return
     */
    public static TemplateMsgBO jhxcWriteOffSuc(String openid, String url, String appid, String pagePath, String leftCount, String payCode_time) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(leftCount);
        templateMsgBO.setArg2(payCode_time);

        return templateMsgBO;
    }

    /**
     * 集群车宝洗车券核销成功后触发提醒
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param exchangeTime     核销成功时间
     * @return
     */
    public static TemplateMsgBO jekunWriteOffSuc(String openid, String url, String appid, String pagePath, String exchangeTime) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(exchangeTime);

        return templateMsgBO;
    }

    /**
     * 军人优惠
     *
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param arg1
     * @return
     */
    public static TemplateMsgBO soldierCoupon(String openid, String url, String appid, String pagePath, String arg1) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(arg1);

        return templateMsgBO;
    }


    /**
     * 季度账单
     * @param openid
     * @param url
     * @param appid
     * @param pagePath
     * @param billName  账单名称
     * @param illegal  违章数量
     * @param inspect  年审数量
     * @param licenseBooking 警医邮数量
     * @param jszExchane 在线补换驾驶证数量
     * @param xszExchane 在线补换行驶证数量
     * @param coupon 优惠券数量
     * @param integral 积分余额
     * @return
     */
    public static TemplateMsgBO quarterBill(String openid, String url, String appid, String pagePath, String billName,String illegal,
                                              String inspect,String licenseBooking,String jszExchane, String xszExchane,String coupon,
                                              String integral) {
        TemplateMsgBO templateMsgBO = new TemplateMsgBO();

        templateMsgBO.setOpenid(openid);
        templateMsgBO.setUrl(url);
        templateMsgBO.setAppid(appid);
        templateMsgBO.setPagePath(pagePath);
        templateMsgBO.setArg1(billName);
        templateMsgBO.setArg2(illegal);
        templateMsgBO.setArg3(inspect);
        templateMsgBO.setArg4(licenseBooking);
        templateMsgBO.setArg5(jszExchane);
        templateMsgBO.setArg6(xszExchane);
        templateMsgBO.setArg7(coupon);
        templateMsgBO.setArg8(integral);

        return templateMsgBO;
    }



    /**
     * 基本属性
     */
    private String openid;
    private String templateId;     //模板id
    private String url;             //跳转url
    private String appid;
    private String pagePath;        //跳转小程序具体页面路径
    private String formId;          // formId,微信小程序使用
    private String type;            // 标识
    private String arg1;            // 公用参数1
    private String arg2;            // 公用参数2
    private String arg3;            // 公用参数3
    private String arg4;            // 公用参数4
    private String arg5;            // 公用参数5
    private String arg6;            // 公用参数6
    private String arg7;            // 公用参数7
    private String arg8;            // 公用参数8

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public String getArg1() {
        return arg1;
    }

    public void setArg1(String arg1) {
        this.arg1 = arg1;
    }

    public String getArg2() {
        return arg2;
    }

    public void setArg2(String arg2) {
        this.arg2 = arg2;
    }

    public String getArg3() {
        return arg3;
    }

    public void setArg3(String arg3) {
        this.arg3 = arg3;
    }

    public String getArg4() {
        return arg4;
    }

    public void setArg4(String arg4) {
        this.arg4 = arg4;
    }

    public String getArg5() {
        return arg5;
    }

    public void setArg5(String arg5) {
        this.arg5 = arg5;
    }

    public String getArg6() {
        return arg6;
    }

    public void setArg6(String arg6) {
        this.arg6 = arg6;
    }

    public String getArg7() {
        return arg7;
    }

    public void setArg7(String arg7) {
        this.arg7 = arg7;
    }

    public String getArg8() {
        return arg8;
    }

    public void setArg8(String arg8) {
        this.arg8 = arg8;
    }

    @Override
    public String toString() {
        return "TemplateMsgBO{" +
               "openid='" + openid + '\'' +
               ", templateId='" + templateId + '\'' +
               ", url='" + url + '\'' +
               ", appid='" + appid + '\'' +
               ", pagePath='" + pagePath + '\'' +
               ", type='" + type + '\'' +
               ", arg1='" + arg1 + '\'' +
               ", arg2='" + arg2 + '\'' +
               ", arg3='" + arg3 + '\'' +
               ", arg4='" + arg4 + '\'' +
               ", arg5='" + arg5 + '\'' +
               ", arg6='" + arg6 + '\'' +
               ", arg7='" + arg7 + '\'' +
               ", arg8='" + arg8 + '\'' +
               '}';
    }
}
